package com.goods.webservice.config;

import com.goods.webservice.wsdl.EnglishChinese.EnglishChinese;
import com.goods.webservice.wsdl.mobile.MobileCodeWS;
import com.goods.webservice.wsdl.weatherWS.WeatherWS;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class WebServiceConfig {

    //    翻译注入
    @Bean
    EnglishChinese getEnglishChinese() {
        EnglishChinese englishChinese = new EnglishChinese();
        return englishChinese;
    }

    //     手机号地址查询注入
    @Bean
    MobileCodeWS getMobileCodeWS() {
        MobileCodeWS mobileCodeWS = new MobileCodeWS();
        return mobileCodeWS;
    }

//        天气查询注入
    @Bean
    WeatherWS getWeatherWS() {
        WeatherWS weatherWS = new WeatherWS();
        return weatherWS;
    }

}
